package com.xiaobai.model.vo.system.menu;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class MenuAddVO {

    @NotNull(message = "父节点不能为空")
    @Schema(description = "父节点ID")
    private Long parentId;

    @NotBlank(message = "名字不能为空")
    @Schema(description = "菜单名字")
    private String menuName;

    @Schema(description = "路由地址")
    private String routerPath;

    @Schema(description = "排序")
    private Integer orderNo;

    @NotNull(message = "类型不能为空")
    @Schema(description = "类型 0菜单  1按钮  2接口")
    private Integer type;

    @Schema(description = "图标")
    private String icon;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "状态")
    private Integer status;

}
